<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
 //首页
 Route::get('/','IndexController@index')->name('blog.index.index');
Route::group(['prefix'=>'blog'],function(){
   
	//地图
    Route::get('/map','IndexController@map')->name('blog.index.map');
	//标签点击页
    Route::get('/label','IndexController@label')->name('blog.index.label');
	//文章详情
    Route::get('/info','IndexController@info')->name('blog.index.info');
	//关于我
    Route::get('/my','IndexController@my')->name('blog.index.my');
	//搜索页
    Route::get('/search','IndexController@search')->name('blog.index.search');
	//发邮件
    Route::get('/mail','IndexController@mail')->name('blog.index.mail');
    //文章评论
	Route::post('/comment','IndexController@comment')->name('blog.index.comment');
});

















